package com.example.mapper;

import com.example.model.User;
import org.springframework.stereotype.Component;

/**
 * Created by yimi on 2016/12/19.
 */
@Component
public interface UserMapper {

    User getUserById(Integer id);

    Integer addUser(User users);

    Integer updateUser(User users);

    Integer deleteUser(Integer id);
}
